[INFO] cloning repository https://github.com/Bettys-sidepiece/yolk-keyboard-driver
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bettys-sidepiece/yolk-keyboard-driver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBettys-sidepiece%2Fyolk-keyboard-driver", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBettys-sidepiece%2Fyolk-keyboard-driver'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 30dd802cc693e948fb8bf4fc3ba3908beecd2f3e
[INFO] fixing Bettys-sidepiece/yolk-keyboard-driver against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBettys-sidepiece%2Fyolk-keyboard-driver" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Bettys-sidepiece/yolk-keyboard-driver
[INFO] finished tweaking git repo https://github.com/Bettys-sidepiece/yolk-keyboard-driver
[INFO] tweaked toml for git repo https://github.com/Bettys-sidepiece/yolk-keyboard-driver written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bettys-sidepiece/yolk-keyboard-driver on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Bettys-sidepiece/yolk-keyboard-driver already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4f8c23d1e770ca935d0ce1c376b7367ed3ba89be54281287b193010b5e4be023
[INFO] running `Command { std: "docker" "start" "4f8c23d1e770ca935d0ce1c376b7367ed3ba89be54281287b193010b5e4be023", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4f8c23d1e770ca935d0ce1c376b7367ed3ba89be54281287b193010b5e4be023" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f8c23d1e770ca935d0ce1c376b7367ed3ba89be54281287b193010b5e4be023", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4f8c23d1e770ca935d0ce1c376b7367ed3ba89be54281287b193010b5e4be023" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.53.0
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling thiserror v2.0.11
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking lock_api v0.4.12
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking xml-rs v0.8.25
[INFO] [stderr]    Compiling nix v0.10.0
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking windows-targets v0.53.0
[INFO] [stderr]     Checking ioctl-sys v0.5.2
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking windows-strings v0.3.0
[INFO] [stderr]     Checking windows-result v0.3.0
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking uuid v1.12.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking core-foundation-sys v0.8.7
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking enum_derive v0.1.7
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking custom_derive v0.1.7
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling libdbus-sys v0.2.5
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking uinput-sys v0.1.7
[INFO] [stderr]     Checking core-foundation v0.10.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking libudev v0.2.0
[INFO] [stderr]     Checking input-linux-sys v0.9.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]     Checking input-linux v0.7.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking env_logger v0.11.6
[INFO] [stderr]     Checking uinput v0.1.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.11
[INFO] [stderr]    Compiling windows-interface v0.59.0
[INFO] [stderr]    Compiling windows-implement v0.59.0
[INFO] [stderr]    Compiling async-trait v0.1.85
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking windows-core v0.59.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking windows v0.59.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking dbus v0.9.7
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking serde-xml-rs v0.6.0
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking dbus-tokio v0.7.6
[INFO] [stderr]     Checking bluez-generated v0.4.0
[INFO] [stderr]     Checking bluez-async v0.8.0
[INFO] [stderr]     Checking btleplug v0.11.7
[INFO] [stderr]     Checking yolk-keyboard-driver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: `impl btleplug::api::Peripheral` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/bt_core.rs:147:66
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/bt_core.rs:147:41
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout]     |                                         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/bt_core.rs:147:42
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 147 - pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout] 147 + pub async fn connect_to_device<T: Central>(central: &T) -> Result<impl Peripheral + use<T>, Box<dyn Error>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl btleplug::api::Peripheral` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/bt_core.rs:147:66
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/bt_core.rs:147:41
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout]     |                                         ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/bt_core.rs:147:42
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 147 - pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout] 147 + pub async fn connect_to_device<T: Central>(central: &T) -> Result<impl Peripheral + use<T>, Box<dyn Error>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.28s
[INFO] [stderr] crater-edition-check: yolk-keyboard-driver v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking yolk-keyboard-driver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `central` does not live long enough
[INFO] [stdout]    --> src/main.rs:37:50
[INFO] [stdout]     |
[INFO] [stdout]  18 |     let central = manager.adapters().await?
[INFO] [stdout]     |         ------- binding `central` declared here
[INFO] [stdout] ...
[INFO] [stdout]  37 |         let peripheral = match connect_to_device(&central).await {
[INFO] [stdout]     |                                                  ^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout]  47 |         if let Err(e) = relay_data(peripheral.into(), device).await {
[INFO] [stdout]     |                         ------------------------------------- argument requires that `central` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout]  53 | }
[INFO] [stdout]     | - `central` dropped here while still borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> src/bt_core.rs:178:53
[INFO] [stdout]     |
[INFO] [stdout] 178 |     ble_device: Arc<impl Peripheral + Send + Sync + 'static>,
[INFO] [stdout]     |                                                     ^^^^^^^
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/main.rs:37:32
[INFO] [stdout]     |
[INFO] [stdout]  37 |         let peripheral = match connect_to_device(&central).await {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/bt_core.rs:147:42
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/bt_core.rs:147:31
[INFO] [stdout]     |
[INFO] [stdout] 147 - pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout] 147 + pub async fn connect_to_device<T: Central>(central: &T) -> Result<impl Peripheral + use<T>, Box<dyn Error>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `yolk-keyboard-driver` (bin "yolk-keyboard-driver") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0597]: `central` does not live long enough
[INFO] [stdout]    --> src/main.rs:37:50
[INFO] [stdout]     |
[INFO] [stdout]  18 |     let central = manager.adapters().await?
[INFO] [stdout]     |         ------- binding `central` declared here
[INFO] [stdout] ...
[INFO] [stdout]  37 |         let peripheral = match connect_to_device(&central).await {
[INFO] [stdout]     |                                                  ^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout]  47 |         if let Err(e) = relay_data(peripheral.into(), device).await {
[INFO] [stdout]     |                         ------------------------------------- argument requires that `central` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout]  53 | }
[INFO] [stdout]     | - `central` dropped here while still borrowed
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> src/bt_core.rs:178:53
[INFO] [stdout]     |
[INFO] [stdout] 178 |     ble_device: Arc<impl Peripheral + Send + Sync + 'static>,
[INFO] [stdout]     |                                                     ^^^^^^^
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/main.rs:37:32
[INFO] [stdout]     |
[INFO] [stdout]  37 |         let peripheral = match connect_to_device(&central).await {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/bt_core.rs:147:42
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    --> src/bt_core.rs:147:31
[INFO] [stdout]     |
[INFO] [stdout] 147 - pub async fn connect_to_device(central: &impl Central) -> Result<impl Peripheral, Box<dyn Error>> {
[INFO] [stdout] 147 + pub async fn connect_to_device<T: Central>(central: &T) -> Result<impl Peripheral + use<T>, Box<dyn Error>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `yolk-keyboard-driver` (bin "yolk-keyboard-driver" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "4f8c23d1e770ca935d0ce1c376b7367ed3ba89be54281287b193010b5e4be023", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f8c23d1e770ca935d0ce1c376b7367ed3ba89be54281287b193010b5e4be023", kill_on_drop: false }`
[INFO] [stdout] 4f8c23d1e770ca935d0ce1c376b7367ed3ba89be54281287b193010b5e4be023
